package service;

import java.util.List;

import dao.ChannelHome;
import dao.TvshowHome;
import dao.VideoHome;

import pojo.Tvshow;
import pojo.Video;

public interface ITvShowService {
    

    
    public Tvshow getTvshowbyId(int tvID);
    
    public void setTvShowDAO(TvshowHome tvShowDAO);

    public void setChannelDAO(ChannelHome channelDAO);

    public void setVideoDAO(VideoHome videoDAO);
    
    
    public List<Tvshow> getAllTvshows();
    
    public List<Tvshow> getAllTvshowsByChannel(int channel_id);
    
    public List<Tvshow> searchTvshows(String keyword);
	
    public boolean addTvshow(Tvshow tvshow);
    
    public boolean removeTvshow(Tvshow tvshow);
    
    public boolean hasVideo(int tvID);
    
    public void deletTvshow(int tvid);
    
    public void updateTvshow(Tvshow tvshow);
    
}
